package com.th.supcom.pds.deptdispensary.client.service;

import java.util.List;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.th.supcom.pds.deptdispensary.client.model.DeptVsDispensaryModel;

/**
 * DeptVsDispensary 异步接口.
 * 
 * 科室与药房关系配置.
 */
public interface DeptVsDispensaryRpcAsync
{
    void getDeptVsDispensaryById (Long id, AsyncCallback <DeptVsDispensaryModel> callback);

    void addDeptVsDispensary (DeptVsDispensaryModel model, AsyncCallback <Void> callback);

    void modifyDeptVsDispensary (DeptVsDispensaryModel model, AsyncCallback <Void> callback);
    
    void modifyDeptVsDispensaryByDispensary (DeptVsDispensaryModel model, AsyncCallback <Void> callback);

    void removeDeptVsDispensary (Long id, AsyncCallback <Void> callback);

    void getDeptVsDispensaryListWithPaging (PagingLoadConfig config, AsyncCallback <PagingLoadResult <DeptVsDispensaryModel>> callback);

    void getDeptVsDispensaryByExample (DeptVsDispensaryModel model, AsyncCallback <List <DeptVsDispensaryModel>> callback);

    void findDispenseTypeListByExample (DeptVsDispensaryModel model, AsyncCallback <List <DeptVsDispensaryModel>> callback);

    void findPhamMaterialTypeListByExample (DeptVsDispensaryModel model, AsyncCallback <List <DeptVsDispensaryModel>> callback);

    void modifyDispenseTypeByExample (DeptVsDispensaryModel model, AsyncCallback <Void> callback);

    void addDispenseType (DeptVsDispensaryModel model, AsyncCallback <Void> callback);

    void removeDispenseTypeByID (Long id, AsyncCallback <Void> callback);

    void modifyPhamMeterialTypeByExample (DeptVsDispensaryModel model, AsyncCallback <Void> callback);

    void addPhamMeterialType (DeptVsDispensaryModel model, AsyncCallback <Void> callback);

    void removePhamMeterialTypeByID (Long id, AsyncCallback <Void> callback);

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}